﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fixx.Connector;

namespace FixxVS
{
	public class ConnectionSettingsChangeArgs : EventArgs
	{
		public bool Changed { get; set; }
		public bool Valid { get; set; }
		public string Host { get; set; }
		public int Port { get; set; }
		public int TimeOut { get; set; }
		public string Username { get; set; }
		public string Password { get; set; }
	}
	public class CacheSettingsChangeArgs : EventArgs
	{
		public FixxRepositoryCache CacheItems { get; set; }
	}
	public class DisplaySettingsChangeArgs : EventArgs
	{
		public bool IsUsingPretyDateFormater { get; set; }
	}
	public class FilterSettingsChangeArgs : EventArgs
	{
		public bool IncludeClosedIssues { get; set; }
		public bool IncludeResolvedIssues { get; set; }
		public bool IncludeArchivedProjects { get; set; }
		public bool OnlyAssignedToMe { get; set; }
	}
	public class ColumnSettingsChangeArgs : EventArgs
	{
		public Dictionary
			<
				FixxVSSettings.IssueListviewColumn,
				FixxVSSettings.IssueListviewColumnSize
			>	IssueListviewColumnConfig { get; set; }
	}
}
